Data transmission method, device, and system

ABSTRACT

Embodiments of the present application disclose a data transmission method, device, and system, and belong to the field of communications technologies. The method includes: receiving and temporarily storing, by a first node device, a designated service group sent by a second node device; and when the first node device needs to forward multiple SAToP or CESoPSN service packets in the temporarily stored designated service group, determining, by the first node device, whether an asynchronous SAToP or CESoPSN service packet exists in the designated service group, and if yes, acquiring, by the first node device, an adjustment value for the asynchronous SAToP or CESoPSN service packet according to a preset rule, and adjusting the asynchronous SAToP or CESoPSN service packet according to the adjustment value, so that the multiple SAToP or CESoPSN service packets in the designated service group are transmitted synchronously.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/CN2013/088700, filed on Dec. 5, 2013, which claims priority toChinese Patent Application No. 201210593376.9, filed on Dec. 31, 2012,both of which are hereby incorporated by reference in their entireties.

TECHNICAL FIELD

The present application relates to the field of communicationstechnologies, and in particular, to a data transmission method, device,and system.

BACKGROUND

With the development of communications technologies, many existingnetworks are upgraded. For example, an MSTP (Multi-Service TransferPlatform, SDH-based multi-service transfer platform) is migrated toSAToP (Structure-Agnostic Time Division Multiplexing (TDM) over Packet)or CESoPSN (Structure-Aware Time Division Multiplexed (TDM) CircuitEmulation Service over Packet Switched Network). In a process ofmigration from an MSTP network to a SAToP or CESoPSN network, a SAToP orCESoPSN service is generally used to transparently transmit an ML-PPP(PPP Multilink Protocol, PPP Multilink Protocol) or IMA (InverseMultiplexing for ATM, inverse multiplexing for ATM) service, so thatreal-timeliness between multiple E1s or T1s (physical interface) in anoriginal MSTP network base station is guaranteed, and a case ofinconsistent service delays between E1s or T1s does not occur. However,in a scenario of migration from MSTP to SAToP or CESoPSN, a SAToP orCESoPSN service is performed on each E1 or T1, and data is separatelytransmitted on each E1 or T1 by using a different SAToP or CESoPSNservice. However, because of a probable difference between paths of theSAToP or CESoPSN service or non-real-timeliness of an IP (InternetProtocol, Internet Protocol) network, delay differences exist in servicetransmission between multiple E1s and T1s. If a base station or BSC(Base Station Controller, base station controller) has a bundled serviceof multiple E1 or T1 services, because of the delay differences betweenmultiple SAToP or CESoPSN services, a disorder occurs on the basestation or BSC, eventually resulting in a large amount of packet loss.

In an solution in the prior art, in a scenario of migration of an MSTPto SAToP or CESoPSN, a BSC or base station can only passively acceptgeneration of a delay between services, and when the delay isexcessively long, packet loss occurs or a link is tore down from abundling group, resulting in a failure of data transmission.

SUMMARY

In order to solve a problem that a delay difference exists betweenmultiple SAToP or CESoPSN services in a scenario of migration to a SAToPor CESoPSN network, embodiments of the present application provide adata transmission method, device, and system. The technical solutionsare as follows:

According to a first aspect, a data transmission method is provided,where the method includes: receiving and temporarily storing, by a firstnode device, a designated service group sent by a second node device,where the first node device and the second node device are two differentnode devices in a network, the designated service group includesmultiple SAToP or CESoPSN service packets, and the designated servicegroup is used to manage a timestamp or a sequence number of each SAToPor CESoPSN service packet; and when the first node device needs toforward the multiple SAToP or CESoPSN service packets in the temporarilystored designated service group, determining, by the first node device,whether an asynchronous SAToP or CESoPSN service packet exists in thedesignated service group, and if yes, acquiring, by the first nodedevice, an adjustment value for the asynchronous SAToP or CESoPSNservice packet according to a preset rule, and adjusting theasynchronous SAToP or CESoPSN service packet according to the adjustmentvalue, so that the multiple SAToP or CESoPSN service packets in thedesignated service group are transmitted synchronously.

In a first possible implementation manner of the first aspect, thedetermining, by the first node device, whether an asynchronous SAToP orCESoPSN service packet exists in the designated service group includes:

parsing, by the first node device, each SAToP or CESoPSN service packetin the designated service group, to acquire the sequence number of eachSAToP or CESoPSN service packet;

acquiring, by the first node device, a reference sequence numberaccording to the sequence number of each SAToP or CESoPSN servicepacket; and

determining, by the first node device, whether the sequence number ofeach SAToP or CESoPSN service packet is the same as the referencesequence number, and if not, determining a SAToP or CESoPSN servicepacket whose sequence number is different from the reference sequencenumber as the asynchronous SAToP or CESoPSN service packet in thedesignated service group.

In a first possible manner in the first possible implementation mannerof the first aspect, the acquiring, by the first node device, anadjustment value for the asynchronous SAToP or CESoPSN service packetaccording to a preset rule, and adjusting the asynchronous SAToP orCESoPSN service packet according to the adjustment value includes:

acquiring, by the first node device, a difference obtained bysubtracting the reference sequence number from the sequence number ofthe asynchronous SAToP or CESoPSN service packet, and obtaining theadjustment value for the asynchronous SAToP or CESoPSN service packetaccording to the difference; and

when the difference is a negative number, discarding, by the first nodedevice, a packet whose quantity is the adjustment value from theasynchronous SAToP or CESoPSN service packet; or

when the difference is a positive number, inserting, by the first nodedevice, an idle packet whose quantity is the adjustment value to theasynchronous SAToP or CESoPSN service packet.

In a second possible implementation manner of the first aspect, thedetermining, by the first node device, whether an asynchronous SAToP orCESoPSN service packet exists in the designated service group includes:

parsing, by the first node device, each SAToP or CESoPSN service packetin the designated service group, to acquire timestamp information ofeach SAToP or CESoPSN service packet;

acquiring, by the first node device, reference timestamp informationaccording to the timestamp information of each SAToP or CESoPSN servicepacket; and

determining, by the first node device, whether the timestamp informationof each SAToP or CESoPSN service packet matches with the referencetimestamp information, and if not, determining a SAToP or CESoPSNservice packet whose timestamp information is different from thereference timestamp information as the asynchronous SAToP or CESoPSNservice packet in the designated service group.

In a first possible manner in the second possible implementation mannerof the first aspect, the acquiring, by the first node device, anadjustment value for the asynchronous SAToP or CESoPSN service packetaccording to a preset rule, and adjusting the asynchronous SAToP orCESoPSN service packet according to the adjustment value includes:

acquiring, by the first node device, a difference obtained bysubtracting the reference timestamp information from the timestampinformation of the asynchronous SAToP or CESoPSN service packet, andobtaining the adjustment value for the asynchronous SAToP or CESoPSNservice packet according to the difference; and

when the difference is a positive number, discarding, by the first nodedevice, a packet whose quantity is the adjustment value from theasynchronous SAToP or CESoPSN service packet; or

when the difference is a negative number, inserting, by the first nodedevice, an idle packet whose quantity is the adjustment value to theasynchronous SAToP or CESoPSN service packet.

According to a second aspect, a node device is provided, including:

a receiving module, configured to receive and temporarily store adesignated service group sent by a second node device, where thedesignated service group includes multiple SAToP or CESoPSN servicepackets, and the designated service group is used to manage a timestampor a sequence number of each SAToP or CESoPSN service packet together;and

a determining module, configured to: when the first node device needs toforward the multiple SAToP or CESoPSN service packets in the designatedservice group temporarily stored by the receiving module, determinewhether an asynchronous SAToP or CESoPSN service packet exists in thedesignated service group, and if yes, acquire an adjustment value forthe asynchronous SAToP or CESoPSN service packet according to a presetrule, and adjust the asynchronous SAToP or CESoPSN service packetaccording to the adjustment value, so that the multiple SAToP or CESoPSNservice packets in the designated service group are transmittedsynchronously.

In a first possible implementation manner of the second aspect, thedetermining module includes:

a first parsing unit, configured to parse each SAToP or CESoPSN servicepacket in the designated service group, to acquire the sequence numberof each SAToP or CESoPSN service packet;

a first acquiring unit, configured to acquire a reference sequencenumber according to the sequence number of each SAToP or CESoPSN servicepacket obtained through parsing by the first parsing unit; and

a first determining unit, configured to determine whether the sequencenumber of each SAToP or CESoPSN service packet is the same as thereference sequence number acquired by the first acquiring unit, and ifnot, determine a SAToP or CESoPSN service packet whose sequence numberis different from the reference sequence number as the asynchronousSAToP or CESoPSN service packet in the designated service group.

In a first possible manner in the first possible implementation mannerof the second aspect, the determining module includes:

a third acquiring unit, configured to acquire a difference obtained bysubtracting the reference sequence number acquired by the firstacquiring unit from the sequence number of the asynchronous SAToP orCESoPSN service packet, and obtain the adjustment value for theasynchronous SAToP or CESoPSN service packet according to thedifference; and

a first adjusting unit, configured to: when the difference is a negativenumber, discard a packet whose quantity is the adjustment value from theasynchronous SAToP or CESoPSN service packet; or when the difference isa positive number, insert an idle packet whose quantity is theadjustment value to the asynchronous SAToP or CESoPSN service packet.

In a second possible implementation manner of the second aspect, thedetermining module includes:

a second parsing unit, configured to parse each SAToP or CESoPSN servicepacket in the designated service group, to acquire timestamp informationof each SAToP or CESoPSN service packet;

a fourth acquiring unit, configured to acquire reference timestampinformation according to the timestamp information of each SAToP orCESoPSN service packet acquired by the second parsing unit; and

a second determining unit, configured to determine whether the timestampinformation of each SAToP or CESoPSN service packet is the same as thereference timestamp information acquired by the fourth acquiring unit,and if not, determine a SAToP or CESoPSN service packet whose timestampinformation is different from the reference timestamp information as theasynchronous SAToP or CESoPSN service packet in the designated servicegroup.

In a first possible manner in the second possible implementation mannerof the second aspect, the determining module includes:

a fifth acquiring unit, configured to acquire a difference obtained bysubtracting the reference timestamp information from the timestampinformation of the asynchronous SAToP or CESoPSN service packet, andobtain the adjustment value for the asynchronous SAToP or CESoPSNservice according to the difference; and

a second adjusting unit, configured to: when the difference is apositive number, discard a packet whose quantity is the adjustment valuefrom the asynchronous SAToP or CESoPSN service packet; or when thedifference is a negative number, insert an idle packet whose quantity isthe adjustment value to the asynchronous SAToP or CESoPSN servicepacket.

According to a third aspect, a data transmission system is provided,where the system includes the node device described above and a secondnode device, where

the second node device is configured to bind multiple SAToP or CESoPSNservice packets to the designated service group and send the designatedservice group to the node device.

The beneficial effects brought by the technical solutions provided inthe embodiments of the present application are: A first node devicereceives and temporarily stores a designated service group sent by asecond node device; and when the first node device needs to forwardmultiple SAToP or CESoPSN service packets in the temporarily storeddesignated service group, the first node device determines whether anasynchronous SAToP or CESoPSN service packet exists in the designatedservice group; and if yes, the first node device acquires an adjustmentvalue for the asynchronous SAToP or CESoPSN service packet according toa preset rule, and adjusts the asynchronous SAToP or CESoPSN servicepacket according to the adjustment value, so that the multiple SAToP orCESoPSN service packets in the designated service group are transmittedsynchronously. Multiple SAToP or CESoPSN service packets in a designatedservice group are managed together, which solves a delay problem thatoccurs when a first node device sends the multiple SAToP or CESoPSNservices.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in the embodiments of the presentapplication more clearly, the following briefly introduces theaccompanying drawings required for describing the embodiments.Apparently, the accompanying drawings in the following description showmerely some embodiments of the present application, and a person ofordinary skill in the art may still derive other drawings from theseaccompanying drawings without creative efforts.

FIG. 1 is a flowchart of a data transmission method according to anembodiment of the present application;

FIG. 2 is a schematic diagram of an overhead field according to anembodiment of the present application;

FIG. 3 is a flowchart of a data transmission method according to anembodiment of the present application;

FIG. 4a is a schematic diagram of a type of packet transmissionaccording to an embodiment of the present application;

FIG. 4b is a schematic diagram of another type of packet transmissionaccording to an embodiment of the present application;

FIG. 5 is a flowchart of a data transmission method according to anembodiment of the present application;

FIG. 6 is a schematic diagram of a node device according to anembodiment of the present application;

FIG. 7 is a schematic diagram of another node device according to anembodiment of the present application;

FIG. 8 is a schematic diagram of another node device according to anembodiment of the present application;

FIG. 9 is a schematic diagram of a data transmission system according toan embodiment of the present application; and

FIG. 10 is a schematic diagram of another data transmission systemaccording to an embodiment of the present application.

DESCRIPTION OF EMBODIMENTS

To make the objectives, technical solutions, and advantages of thepresent application clearer, the following further describes theembodiments of the present application in detail with reference to theaccompanying drawings.

In the following embodiments, if a sequence number is involved, and adifference between a sequence number of a SAToP or CESoPSN servicepacket and a reference sequence number is greater than a differenceobtained by subtracting a preset value from a reverse modulus, reversalprocessing is performed, that is, the reverse modulus is added to anexisting difference to obtain a correct difference.

Referring to FIG. 1, a data transmission method is provided in thisembodiment, including:

101: A first node device receives and temporarily stores a designatedservice group sent by a second node device, where the first node deviceand the second node device are two different node devices in a network,the designated service group includes multiple SAToP or CESoPSN servicepackets, and the designated service group is used to manage a timestampor a sequence number of each SAToP or CESoPSN service packet.

102: When the first node device needs to forward the multiple SAToP orCESoPSN service packets in the temporarily stored designated servicegroup, the first node device determines whether an asynchronous SAToP orCESoPSN service packet exists in the designated service group, and ifyes, the first node device acquires an adjustment value for theasynchronous SAToP or CESoPSN service packet according to a preset rule,and adjusts the asynchronous SAToP or CESoPSN service packet accordingto the adjustment value, so that the multiple SAToP or CESoPSN servicepackets in the designated service group are transmitted synchronously.

The beneficial effects of this embodiment are: A first node devicereceives and temporarily stores a designated service group sent by asecond node device; and when the first node device needs to forwardmultiple SAToP or CESoPSN service packets in the temporarily storeddesignated service group, the first node device determines whether anasynchronous SAToP or CESoPSN service packet exists in the designatedservice group, and if yes, the first node device acquires an adjustmentvalue for the asynchronous SAToP or CESoPSN service packet according toa preset rule, and adjusts the asynchronous SAToP or CESoPSN servicepacket according to the adjustment value, so that the multiple SAToP orCESoPSN service packets in the designated service group are transmittedsynchronously. Multiple SAToP or CESoPSN service packets in a designatedservice group are managed, which resolves a delay problem that occurswhen a first node device sends the multiple SAToP or CESoPSN services.

A data transmission method is provided in an embodiment of the presentapplication. In a scenario of migration from MSTP to SAToP or CESoPSN, aSAToP or CESoPSN service group is introduced, multiple SAToP or CESoPSNservice packets are bound to a group, and a sequence number or timestampinformation of each SAToP or CESoPSN service packet in the group ismanaged by using a service group, so that a transmission delay betweenlinks can be adjusted at a SAToP or CESoPSN service outlet according toa difference of the timestamp information or the sequence number, so asto achieve an objective of time synchronization of all links.Optionally, an overhead field in the current protocols RFC 4553 and RFC5086 is used in a designated service group to implement management onmultiple SAToP or CESoPSN services. An overhead field shown in FIG. 2includes a sequence number (sequence number), and optionally, may alsoinclude a timestamp (timestamp), a Synchronization Source (SSRC)Identifier (synchronization source identifier), and a Contributingsource (CSRC) Identifier (contributing source identifier). This part issimilar to the prior art, and is not repeatedly described in thisembodiment.

Referring to FIG. 3, when an overhead field includes only a sequencenumber, a method for resolving a link time problem by using a sequencenumber in a packet is provided in this embodiment, and a specificprocedure of the method includes:

201: A second node device binds multiple SAToP or CESoPSN servicepackets to a designated service group and sends the designated servicegroup to a first node device.

In this embodiment, the designated service group refers to a SAToP orCESoPSN service group and includes multiple SAToP or CESoPSN servicepackets. The designated service group manages a timestamp or a sequencenumber of each SAToP or CESoPSN service packet.

In this embodiment, the first node device and the second node device aretwo different node devices in a network. A transmission rule for a SAToPor CESoPSN service group is configured in advance in the first nodedevice and the second node device, that is, synchronization oftimestamps or sequence numbers is kept for multiple SAToP or CESoPSNservice packets in one group. When a case of asynchronization occurs, anasynchronous SAToP or CESoPSN service packet is adjusted.

When IMA or MLPPP services are performed at two ends of a first nodedevice and a second node device, the multiple SAToP or CESoPSN servicepackets corresponding to multiple links in an IMA or MLPPP group arebound to the designated service group, and sequence numbers of themultiple SAToP or CESoPSN service packets are managed in the designatedservice group.

202: When the first node device needs to forward the multiple SAToP orCESoPSN service packets in the temporarily stored designated servicegroup, the first node device determines whether an asynchronous SAToP orCESoPSN service packet exists in the designated service group, and ifyes, perform step 203, if not, perform step 204.

In this step, in order to reduce a delay between services, afterreceiving the designated service group sent by the second node device,the first node device temporarily stores the multiple SAToP or CESoPSNservice packets in the designated service group, and when the multipleSAToP or CESoPSN service packets in the designated service group need tobe forwarded, that is, when the temporarily stored packets meet aforwarding condition, parses each SAToP or CESoPSN service in thedesignated service group to obtain a sequence number of the transmittedpacket of each SAToP or CESoPSN service, and determines, according tothe sequence number of the transmitted packet of each SAToP or CESoPSNservice, whether an asynchronous SAToP or CESoPSN service exists in thedesignated service group. A specific manner for obtaining a sequencenumber in a packet through parsing is similar to that in the prior art,and is no longer described in this embodiment. The forwarding conditionrefers to a transmission pipeline configured by a user in an initialperiod when a service is established. The transmission pipeline is athreshold. Only when a quantity of packets temporarily stored in atransmission direction reaches the threshold, the first node devicesends the packets. This part is similar to the prior art, and is nolonger described in this embodiment.

Specifically, the determining, by the first node device, whether anasynchronous SAToP or CESoPSN service packet exists in the designatedservice group includes: parsing, by the first node device, each SAToP orCESoPSN service packet in the designated service group, to acquire thesequence number of each SAToP or CESoPSN service packet; acquiring, bythe first node device, a reference sequence number according to thesequence number of each SAToP or CESoPSN service packet; anddetermining, by the first node device, whether the sequence number ofeach SAToP or CESoPSN service packet is the same as the referencesequence number, and if not, determining a SAToP or CESoPSN servicepacket whose sequence number is different from the reference sequencenumber as the asynchronous SAToP or CESoPSN service packet in thedesignated service group.

In this step, after the sequence number of each SAToP or CESoPSN servicepacket in the designated service group is acquired, the acquiring thereference sequence number according to the sequence number of each SAToPor CESoPSN service packet includes: calculating an average value of thesequence numbers of the packets of all the SAToP or CESoPSN services,and using the average value as the reference sequence number. Certainly,the reference sequence number may also be obtained by using otheralgorithms For example, when only one service packet in the packets ofall SAToP or CESoPSN services has a sequence number different from thatof the rest service packets, this service is determined as anasynchronous service, and the reference sequence number is the sequencenumber of the rest service packets other than the asynchronous service.An algorithm to be used is not specifically limited in this embodiment.After the reference sequence number is obtained, it is determinedwhether a transmitted sequence number of each SAToP or CESoPSN servicematches with the reference sequence number. If a sequence number thatdoes not match with the reference sequence number is found, this serviceis determined as the asynchronous SAToP or CESoPSN service in thedesignated service group, and a transmission link of the asynchronousSAToP or CESoPSN service is further adjusted. “Match” described in thisembodiment refers to that: A difference is obtained by subtracting thereference sequence number from the sequence number of the transmittedpacket of each SAToP or CESoPSN service, and an absolute value of thedifference is less than a preset value, where, for example, the presetvalue may be 0.5.

203: The first node device acquires an adjustment value for theasynchronous SAToP or CESoPSN service packet according to the referencesequence number, and adjusts the asynchronous SAToP or CESoPSN servicepacket according to the adjustment value.

In this step, after determining the asynchronous SAToP or CESoPSNservice packet, the first node device adjusts the packet of the SAToP orCESoPSN service, so that the packets of the SAToP or CESoPSN services inthe designated group can be transmitted synchronously. Specifically, theacquiring, by the first node device, an adjustment value for theasynchronous SAToP or CESoPSN service packet according to a preset rule,and adjusting the asynchronous SAToP or CESoPSN service packet accordingto the adjustment value includes:

acquiring, by the first node device, a difference obtained bysubtracting the reference sequence number from the sequence number ofthe asynchronous SAToP or CESoPSN service packet, and obtaining theadjustment value for the asynchronous SAToP or CESoPSN service packetaccording to the difference; and

when the difference is a negative number, discarding, by the first nodedevice, a packet whose quantity is the adjustment value from theasynchronous SAToP or CESoPSN service packet; or

when the difference is a positive number, inserting, by the first nodedevice, an idle packet whose quantity is the adjustment value to theasynchronous SAToP or CESoPSN service packet.

In this embodiment, if it is found that a sequence number of anasynchronous packet is greater than the reference sequence number, itindicates that a delay of a transmission link of the packet of the SAToPor CESoPSN service is less than a delay of a transmission link ofanother SAToP or CESoPSN service, and an idle packet whose quantity isthe adjustment value are inserted in the link to make all links keepsynchronous; and if it is found that a sequence number of anasynchronous packet is less than the reference sequence number, itindicates that a delay of a link that bears the packet is greater than adelay of another link, and in this case, a packet whose quantity is theadjustment value are discarded to keep all the links synchronous.

That the first node device obtains the adjustment value for theasynchronous SAToP or CESoPSN service packet according to the differenceincludes:

A difference is obtained by subtracting the reference sequence numberfrom a transmitted sequence number of each SAToP or CESoPSN service.Divisor processing is performed on the difference according to a presetconfiguration rule or a preset algorithm to obtain the adjustment value,and the adjustment value is an integer. In this embodiment, the presetconfiguration rule is set in advance by an IP base station or a BSC, andspecifically may be set according to a degree of acceptance of the BSCor base station for a service delay difference in a group, and is notspecifically limited in this embodiment. The preset algorithm includes arounding algorithm, or another method of divisor processing, and is notspecifically limited in this embodiment.

In order to enable a person skilled in the art to understand thetechnical solutions provided in the present application more clearly,examples are given below:

As shown in FIG. 4a , the first node device receives a designatedservice group sent by the second node device, where the designatedservice group includes transmission links of three SAToP or CESoPSNservices. When a transmission pipeline of the first node device reachesa transmission condition, a jitter buffer area (Jitter Buffer)determines whether the three services are synchronous. As can be seenfrom FIG. 4a , a sequence number of packets transmitted on a first linkand a second link is 3, and a sequence number of a packet transmitted ona third link is 2. It can be seen that a delay of the third link isgreater than that of the first link and the second link, and a time of apacket is delayed, so that the first not device actively discards onepacket during transmission, and reduces the transmission pipeline by onepacket, and therefore the packets transmitted on the three links arekept synchronous again. Alternatively, a reference sequence number,being an average value of sequence numbers of three service packets, iscalculated to be 2.67, and an adjustment value for the third link isfurther calculated to be −0.67, which is a decimal number. Then, theadjustment value is obtained to be −1 according to a divisor processingprinciple, and the first node device actively discards one packet duringtransmission.

As shown in FIG. 4b , a sequence number of packets transmitted on afirst link and a second link is 3, and a sequence number of a packettransmitted on a third link is 4. It can be seen that a delay of thethird link is less than that of the first link and the second link bytransmission time of one packet, so that during transmission on thethird link, the first node device actively transmits one idle packet,and increases the transmission pipeline by one idle packet. In this way,during transmission of a next packet, the three links are keptsynchronous again. Alternatively, a reference sequence number, being anaverage value of sequence numbers of three service packets, iscalculated to be 3.33, and an adjustment value for the third link isfurther calculated to be 0.67, which is a decimal number. Then, theadjustment value is obtained to be 1 according to a divisor processingprinciple, and the first node device actively inserts one idle packetduring transmission.

In this embodiment, further, when an absolute value of the adjustmentvalue is greater than a preset threshold, the first node device performsan operation of raising a link alarm, so as to notify another device ina SAToP or CESoPSN network of a link failure condition, so that a usercan learn link failure information.

204: The first node device forwards the multiple SAToP or CESoPSNservice packets in the designated service group.

In this embodiment, when the multiple SAToP or CESoPSN service packetsin the designated service group are synchronous, the first node deviceforwards the multiple SAToP or CESoPSN service packets, so as tocomplete transmission of services.

The beneficial effects of this embodiment are: A first node devicereceives and temporarily stores a designated service group sent by asecond node device; and when the first node device needs to forward themultiple SAToP or CESoPSN service packets in the temporarily storeddesignated service group, the first node device determines whether anasynchronous SAToP or CESoPSN service packet exists in the designatedservice group, and if yes, the first node device acquires an adjustmentvalue for the asynchronous SAToP or CESoPSN service packet according toa preset rule, and adjusts the asynchronous SAToP or CESoPSN servicepacket according to the adjustment value, so that the multiple SAToP orCESoPSN service packets in the designated service group are transmittedsynchronously. Adjustment on a link delay is implemented by using asequence number in a packet, thereby solving a link delay problem,achieving seamless migration from an MSTP network to a SAToP or CESoPSNnetwork, and reducing difficulty in network deployment.

An embodiment of the present application provides a data transmissionmethod. Referring to FIG. 5, when an overhead field also includestimestamp information, a method for solving a link time problem by usingtimestamp information in a packet is provided in this embodiment, and aspecific procedure of the method includes:

301: A second node device binds multiple SAToP or CESoPSN servicepackets to a designated service group and sends the designated servicegroup to a first node device.

This step is similar to step 201 in the foregoing embodiment, and adifference is in that: When a second node device needs to transmit anIMA or MP service, the multiple SAToP or CESoPSN service packets arebound to the designated service group, and timestamps of the multipleSAToP or CESoPSN services are managed in the designated service group.When timestamp information is used, a header of an RTP (Real-timeTransport Protocol, Real-time Transport Protocol) needs to be enabled.This part is similar to the prior art, and is no longer described inthis embodiment.

302: When the first node device needs to forward the multiple SAToP orCESoPSN service packets in the temporarily stored designated servicegroup, the first node device determines whether an asynchronous SAToP orCESoPSN service packet exists in the designated service group, and ifyes, perform step 303, or if not, perform step 304.

In this step, after receiving the designated service group sent by thesecond node device, the first node device temporarily stores themultiple SAToP or CESoPSN service packets in the received designatedservice group, and when the multiple SAToP or CESoPSN services in thedesignated service group need to be forwarded, parses each SAToP orCESoPSN service in the service group to obtain timestamp information ofthe transmitted packet of each SAToP or CESoPSN service, that is,relative time of the packet. A specific manner for obtaining timestampinformation in a packet through parsing is similar to the prior art, andis no longer described in this embodiment.

Specifically, the determining, by the first node device, whether anasynchronous SAToP or CESoPSN service packet exists in the designatedservice group includes: parsing, by the first node device, each SAToP orCESoPSN service packet in the designated service group, to acquiretimestamp information of each SAToP or CESoPSN service packet;acquiring, by the first node device, reference timestamp informationaccording to the timestamp information of each SAToP or CESoPSN servicepacket; and determining, by the first node device, whether the timestampinformation of each SAToP or CESoPSN service packet matches with thereference timestamp information, and if not, determining a SAToP orCESoPSN service packet whose timestamp information does not match withthe reference timestamp information as the asynchronous SAToP or CESoPSNservice packet in the designated service group. “Match” described inthis embodiment refers to that: A difference is obtained by subtractingthe reference timestamp information from the timestamp information ofeach SAToP or CESoPSN service packet, and an absolute value of thedifference is less than a preset value, where, for example, the presetvalue may be 0.5.

In this step, the acquiring, by the first node device, referencetimestamp information according to the timestamp information of eachSAToP or CESoPSN service packet includes: calculating an average valueof the timestamp information of the packets of all the SAToP or CESoPSNservices, and using the average value as the reference timestampinformation. Certainly, the reference timestamp information may also beobtained by using other algorithms, which are not specifically limitedin this embodiment. After the reference timestamp information isacquired, it is determined whether the timestamp information of eachSAToP or CESoPSN service packet matches with the reference timestampinformation. If a packet whose timestamp information does not match withthe reference timestamp information is found, a packet transmission linkof a service corresponding to the packet is determined as a transmissionlink of the asynchronous SAToP or CESoPSN service in the designatedservice group, and the transmission link of the SAToP or CESoPSN serviceis further adjusted.

303: The first node device acquires an adjustment value for theasynchronous SAToP or CESoPSN service packet according to the referencetimestamp information, and adjusts the asynchronous SAToP or CESoPSNservice packet according to the adjustment value.

In this step, after the first node device determines the asynchronousSAToP or CESoPSN service packet, the first node device adjusts thepacket of the SAToP or CESoPSN service, so that the packets of the SAToPor CESoPSN services in the designated group can be transmittedsynchronously. Specifically, the acquiring, by the first node device, anadjustment value for the asynchronous SAToP or CESoPSN service packetaccording to a preset rule, and adjusting the asynchronous SAToP orCESoPSN service packet according to the adjustment value includes:

acquiring, by the first node device, a difference obtained bysubtracting the reference timestamp information from the timestampinformation of the asynchronous SAToP or CESoPSN service packet, andobtaining the adjustment value for the asynchronous SAToP or CESoPSNservice packet according to the difference; and

when the difference is a positive number, discarding, by the first nodedevice, a packet whose quantity is the adjustment value from theasynchronous SAToP or CESoPSN service packet; or

when the difference is a negative number, inserting, by the first nodedevice, an idle packet whose quantity is the adjustment value to theasynchronous SAToP or CESoPSN service packet.

In this embodiment, if it is found that the timestamp information of alink of the asynchronous SAToP or CESoPSN service is less than thereference timestamp information, it indicates that a delay of thetransmission link of the SAToP or CESoPSN service is less than a delayof a transmission link of another SAToP or CESoPSN service, andcorresponding idle packet is inserted in the link to keep all the linkssynchronous; and if it is found that timestamp information of a link ofthe asynchronous SAToP or CESoPSN service is greater than the referencetimestamp information, it indicates that a delay of the link is greaterthan a delay of another link, and in this case, corresponding packet isdiscarded to keep all the links synchronous.

The obtaining, by the first node device, the adjustment value for theasynchronous SAToP or CESoPSN service packet according to the differenceincludes: obtaining the adjustment value by converting the difference. Aconversion method may be: dividing the difference by a transmission timeinterval of the single packet, and performing divisor processing on thecalculation result according to a preset algorithm or rule, so as toobtain the adjustment value being an integer. In this embodiment, apreset configuration rule is set in advance by an IP base station or aBSC, and specifically may be set according to a degree of acceptance ofthe BSC or base station for a service delay difference in a group, andis not specifically limited in this embodiment. The preset algorithmincludes a rounding algorithm, or another method of divisor processing,and is not specifically limited in this embodiment.

In this embodiment, when an absolute value of the adjustment value isgreater than a preset threshold, the first node device performs anoperation of raising a link alarm, so as to notify another device in aSAToP or CESoPSN network of a link failure condition, so that a user canlearn link failure information. A base station or BSC in a network maymonitor link information in a manner of using third-party networkmanagement software or the like, and in a specific implementationprocess, which manner is used to monitor the link information is notspecifically limited in this embodiment.

304: A first node device forwards the multiple SAToP or CESoPSN servicepackets in the designated service group.

In this embodiment, when the multiple SAToP or CESoPSN service packetsin the designated service group are synchronous, the first node deviceforwards the multiple SAToP or CESoPSN service packets, so as tocomplete transmission of services.

The beneficial effects of this embodiment are: A first node devicereceives and temporarily stores a designated service group sent by asecond node device; and when the first node device needs to forwardmultiple SAToP or CESoPSN service packets in the temporarily storeddesignated service group, the first node device determines whether anasynchronous SAToP or CESoPSN service packet exists in the designatedservice group, and if yes, the first node device acquires an adjustmentvalue for the asynchronous SAToP or CESoPSN service packet according toa preset rule, and adjusts the asynchronous SAToP or CESoPSN servicepacket according to the adjustment value, so that the multiple SAToP orCESoPSN service packets in the designated service group are transmittedsynchronously. Adjustment on a link delay is implemented by usingtimestamp information, thereby solving a link delay problem, achievingseamless migration from an MSTP network to a SAToP or CESoPSN network,and reducing difficulty in network deployment.

Referring to FIG. 6, this embodiment provides a node device 400,including: a receiving module 401 and a determining module 402.

The receiving module 401 is configured to receive and temporarily storea designated service group sent by a second node device, where thedesignated service group includes multiple SAToP or CESoPSN services,and the designated service group is used to manage a timestamp or asequence number of each SAToP or CESoPSN service.

The determining module 402 is configured to: when the first node deviceneeds to forward multiple SAToP or CESoPSN service packets in thedesignated service group temporarily stored by the receiving module 401,determine whether an asynchronous SAToP or CESoPSN service packet existsin the designated service group, and if yes, acquire an adjustment valuefor the asynchronous SAToP or CESoPSN service packet according to apreset rule, and adjust the asynchronous SAToP or CESoPSN service packetaccording to the adjustment value, so that the multiple SAToP or CESoPSNservice packets in the designated service group are transmittedsynchronously.

Referring to FIG. 7, optionally, the determining module 402 includes:

a first parsing unit 402 a, configured to parse each SAToP or CESoPSNservice packet in the designated service group, to acquire the sequencenumber of each SAToP or CESoPSN service packet;

a first acquiring unit 402 b, configured to acquire a reference sequencenumber according to the sequence number of each SAToP or CESoPSN servicepacket obtained through parsing by the first parsing unit 402 a; and

a first determining unit 402 c, configured to determine whether thesequence number of each SAToP or CESoPSN service packet matches with thereference sequence number acquired by the first acquiring unit 402 b,and if not, determine a SAToP or CESoPSN service packet whose sequencenumber is different from the reference sequence number as theasynchronous SAToP or CESoPSN service packet in the designated servicegroup. “Match” described in this embodiment refers to that: A differenceis obtained by subtracting the reference sequence number from thesequence number of each SAToP or CESoPSN service packet, and an absolutevalue of the difference is less than a preset value, where, for example,the preset value may be 0.5.

Based on the reference sequence number acquired by the first acquiringunit 402 b, referring to FIG. 7, correspondingly, the determining module402 includes:

a third acquiring unit 402 d, configured to acquire the adjustment valuefor the asynchronous SAToP or CESoPSN service packet, and mayspecifically be configured to subtract the reference sequence numberacquired by the first acquiring unit from the sequence number of theasynchronous SAToP or CESoPSN service packet to obtain a difference, andobtain the adjustment value for the asynchronous SAToP or CESoPSNservice packet according to the difference; and

a first adjusting unit 402 e, configured to: when the difference is anegative number, discard a packet whose quantity is the adjustment valuefrom the asynchronous SAToP or CESoPSN service packet; or when thedifference is a positive number, insert an idle packet whose quantity isthe adjustment value to the asynchronous SAToP or CESoPSN servicepacket.

Optionally, referring to FIG. 7, the determining module 402 includes:

a second parsing unit 402 f, configured to parse each SAToP or CESoPSNservice packet in the designated service group, to acquire timestampinformation of each SAToP or CESoPSN service packet;

a fourth acquiring unit 402 g, configured to acquire reference timestampinformation according to the timestamp information of each SAToP orCESoPSN service packet acquired by the second parsing unit 402 f; and

a second determining unit 402 i, configured to determine whether thetimestamp information of each SAToP or CESoPSN service packet matcheswith the reference timestamp information acquired by the fourthacquiring unit 402 g, and if not, determine a SAToP or CESoPSN servicepacket whose timestamp information does not match with the referencetimestamp information as the asynchronous SAToP or CESoPSN servicepacket in the designated service group. “Match” described in thisembodiment refers to that: A difference is obtained by subtracting thereference timestamp information from the timestamp information of eachSAToP or CESoPSN service packet, and an absolute value of the differenceis less than a preset value, where, for example, the preset value may be0.5.

Based on the reference timestamp information acquired by the fourthacquiring unit 402 g, referring to FIG. 7, correspondingly, thedetermining module 402 includes:

a fifth acquiring unit 402 j, configured to acquire the adjustment valuefor the asynchronous SAToP or CESoPSN service packet, and mayspecifically be configured to subtract the reference timestampinformation from the timestamp information of the asynchronous SAToP orCESoPSN service packet to obtain a difference, and obtain the adjustmentvalue for the asynchronous SAToP or CESoPSN service packet according tothe difference; and

a second adjusting unit 402 k, configured to: when the difference is apositive number, discard a packet whose quantity is the adjustment valuefrom the asynchronous SAToP or CESoPSN service packet; or when thedifference is a negative number, insert an idle packet whose quantity isthe adjustment value to the asynchronous SAToP or CESoPSN servicepacket.

The obtaining, by the first node device, the adjustment value for theasynchronous SAToP or CESoPSN service packet according to the differenceincludes: obtaining the adjustment value by converting the difference. Aconversion method may be: dividing the difference by a transmission timeinterval of the single packet, and performing divisor processing on thecalculation result according to a preset algorithm or rule, so as toobtain the adjustment value being an integer. The beneficial effects ofthis embodiment are: A first node device receives and temporarily storesa designated service group sent by a second node device; and when thefirst node device needs to forward multiple SAToP or CESoPSN servicepackets in the designated service group, the first node devicedetermines whether an asynchronous SAToP or CESoPSN service packetexists in the designated service group, and if yes, the first nodedevice acquires an adjustment value for the asynchronous SAToP orCESoPSN service packet according to a preset rule, and adjusts theasynchronous SAToP or CESoPSN service packet according to the adjustmentvalue, so that the multiple SAToP or CESoPSN service packets in thedesignated service group are transmitted synchronously. Multiple SAToPor CESoPSN service packets in a designated service group are managedtogether, which resolves a delay problem that occurs when a first nodedevice sends the multiple SAToP or CESoPSN services.

Referring to FIG. 8, this embodiment provides a node device 500,including: a memory 501 and a processor 502.

The memory 501 is configured to receive and temporarily store adesignated service group sent by a second node device, where the firstnode device and the second node device are two different node devices ina network, the designated service group includes multiple SAToP orCESoPSN service packets, and the designated service group is used tomanage a timestamp or a sequence number of each SAToP or CESoPSN servicepacket.

The processor 502 is configured to: when the multiple SAToP or CESoPSNservice packets in the designated service group temporarily stored inthe memory 501 need to be forwarded, determine whether an asynchronousSAToP or CESoPSN service packet exists in the designated service group,and if yes, acquire an adjustment value for the asynchronous SAToP orCESoPSN service packet according to a preset rule, and adjust theasynchronous SAToP or CESoPSN service packet according to the adjustmentvalue, so that the multiple SAToP or CESoPSN service packets in thedesignated service group are transmitted synchronously.

Optionally, the determining whether an asynchronous SAToP or CESoPSNservice packet exists in the designated service group includes:

parsing each SAToP or CESoPSN service packet in the designated servicegroup, to acquire the sequence number of each SAToP or CESoPSN servicepacket;

acquiring a reference sequence number according to the sequence numberof each SAToP or CESoPSN service packet; and

determining whether the sequence number of each SAToP or CESoPSN servicepacket matches with the reference sequence number, and if not,determining a SAToP or CESoPSN service packet whose sequence number doesnot match with the reference sequence number as the asynchronous SAToPor CESoPSN service packet in the designated service group. “Match”described in this embodiment refers to that: A difference is obtained bysubtracting the reference sequence number from the sequence number ofeach SAToP or CESoPSN service packet, and an absolute value of thedifference is less than a preset value, where, for example, the presetvalue may be 0.5.

Correspondingly, the acquiring an adjustment value for the asynchronousSAToP or CESoPSN service packet according to a preset rule, andadjusting the asynchronous SAToP or CESoPSN service packet according tothe adjustment value includes:

acquiring a difference obtained by subtracting the reference sequencenumber from the sequence number of the asynchronous SAToP or CESoPSNservice packet, and obtaining the adjustment value for the asynchronousSAToP or CESoPSN service according to the difference; and

when the difference is a negative number, discarding a packet whosequantity is the adjustment value from the asynchronous SAToP or CESoPSNservice packet; or

when the difference is a positive number, inserting an idle packet whosequantity is the adjustment value to the asynchronous SAToP or CESoPSNservice packet.

Optionally, the determining whether an asynchronous SAToP or CESoPSNservice packet exists in the designated service group includes:

parsing each SAToP or CESoPSN service packet in the designated servicegroup, to acquire timestamp information of each SAToP or CESoPSN servicepacket;

acquiring reference timestamp information according to the timestampinformation of each SAToP or CESoPSN service packet; and

determining whether the timestamp information of each SAToP or CESoPSNservice packet matches with the reference timestamp information, and ifnot, determining a SAToP or CESoPSN service packet whose timestampinformation does not match with the reference timestamp information asthe asynchronous SAToP or CESoPSN service packet in the designatedservice group. “Match” described in this embodiment refers to that: Adifference is obtained by subtracting the reference timestampinformation from the timestamp information of each SAToP or CESoPSNservice packet, and an absolute value of the difference is less than apreset value, where, for example, the preset value may be 0.5.

Correspondingly, the acquiring an adjustment value for the asynchronousSAToP or CESoPSN service packet according to a preset rule, andadjusting the asynchronous SAToP or CESoPSN service packet according tothe adjustment value includes:

acquiring a difference obtained by subtracting the reference timestampinformation from the timestamp information of the asynchronous SAToP orCESoPSN service packet, and obtaining the adjustment value for theasynchronous SAToP or CESoPSN service packet according to thedifference; and

when the difference is a positive number, discarding a packet whosequantity is the adjustment value from the asynchronous SAToP or CESoPSNservice packet; or

when the difference is a negative number, inserting an idle packet whosequantity is the adjustment value to the asynchronous SAToP or CESoPSNservice packet.

The obtaining, by the first node device, the adjustment value for theasynchronous SAToP or CESoPSN service packet according to the differenceincludes: obtaining the adjustment value by converting the difference. Aconversion method may be: dividing the difference by a transmission timeinterval of the single packet, and performing divisor processing on thecalculation result according to a preset algorithm or rule, so as toobtain the adjustment value being an integer. The beneficial effects ofthis embodiment are: Multiple SAToP or CESoPSN service packets in adesignated service group are managed together, which resolves a delayproblem that occurs when a first node device sends the multiple SAToP orCESoPSN services.

Referring to FIG. 9, a data transmission system is further provided inan embodiment, including the node device 400 described in the foregoingembodiment or the node device 500 described in the foregoing embodimentand a second node device 600.

The second node device 600 is configured to bind multiple SAToP orCESoPSN service packets to the designated service group and send thedesignated service group to the node device 400 or the node device 500.

In order to enable a person skilled in the art to understand the datatransmission system provided in the present application more clearly, anexample is given below:

Referring to FIG. 10, in a scenario of a SAToP or CESoPSN network, thedata transmission system includes: an IP base station, device A, deviceB, device C, and a BSC. Multiple SAToP or CESoPSN service packets arebound to a designated service group for transmission. As shown in FIG.10, it is assumed that three SAToP or CESoPSN service packets are boundto a service group for transmission. When data is transmitted from theIP base station to the BSC, a first node device is device C in thefigure, and a second node device is device A. When data is transmittedfrom the BSC to the IP base station, a first node device is device A inthe figure, and a second node device is device C. When data istransmitted from the IP base station to the BSC, and ML-PPP/IMA servicesare performed at two ends of both device A and device C, device A bindsthe three services to a service group and sends the service group todevice C. When service packets temporarily stored in the C device reacha transmission pipeline, the temporarily stored packets are forwarded,and it is determined first whether three packets in the service groupare synchronous before the packets are forwarded. If the three packetsare asynchronous, synchronization adjustment is first performed on thethree services according to sequence numbers or timestamp information ofthe packets, and then the packets are forwarded.

The beneficial effects of this embodiment are: Multiple SAToP or CESoPSNservice packets in a designated service group are managed together,which resolves a delay problem that occurs when a first node devicesends the multiple SAToP or CESoPSN services.

It should be noted that: for the node device provided in the foregoingembodiments, division of the foregoing functional modules is taken as anexample for illustration. In actual application, the foregoing functionscan be allocated to different functional modules and implementedaccording to a requirement, that is, an inner structure of a device isdivided into different functional modules to implement all or some ofthe functions described above.

In addition, the node device and the data transmission system providedin the foregoing embodiments and the embodiments of the datatransmission method belong to a same concept, and reference is made tothe method embodiments for a specific implementation process of the nodedevice and the data transmission system, which is not described hereinagain.

The sequence numbers of the foregoing embodiments of the presentapplication are merely for illustrative purposes, and are not intendedto indicate priorities of the embodiments.

A person of ordinary skill in the art may understand that all or some ofthe steps of the embodiments may be implemented by hardware or a programinstructing related hardware. The program may be stored in acomputer-readable storage medium. The storage medium may include: aread-only memory, a magnetic disk, or an optical disc.

The foregoing descriptions are merely exemplary embodiments of thepresent application, but are not intended to limit the presentapplication. Any modification, equivalent replacement, and improvementmade without departing from the spirit and principle of the presentapplication shall fall within the protection scope of the presentapplication.

What is claimed is:
 1. A data transmission method, wherein the methodcomprises: in response to receiving, by a first node device, multipleservice packets of Structure-Agnostic Time Division Multiplexing overPacket (SAToP) or Structure-Aware Time Division Multiplexed CircuitEmulation Service over Packet Switched Network (CESoPSN) transmitted onmultiple transmission links by a second node device to be bound to adesignated service packet group, temporarily storing, by the first nodedevice, the multiple service packets of the designated service packetgroup transmitted on the multiple transmission links by the second nodedevice, wherein, the designated service packet group is used to managesequence numbers of the SAToP or CESoPSN service packets in thedesignated service packet group; and in response to the first nodedevice forwarding the multiple SAToP or CESoPSN service packets in thetemporarily stored designated service packet group and a determination,by the first node device, that an asynchronous SAToP or CESoPSN servicepacket exists on a transmission link among the multiple transmissionlinks in the designated service packet group, acquiring, by the firstnode device, an adjustment value for the transmission link transmittingthe asynchronous SAToP or CESoPSN service packet according to a rule forthe designated service packet group, and adjusting the transmission linktransmitting the asynchronous SAToP or CESoPSN service packet accordingto the adjustment value, to cause the multiple SAToP or CESoPSN servicepackets in the designated service packet group be transmittedsynchronously, wherein the determination, by the first node device, thatthe asynchronous SAToP or CESoPSN service packet exists in thedesignated service packet group comprises: parsing, by the first nodedevice, at least one SAToP or CESoPSN service packet in the designatedservice packet group, to acquire a sequence number of the at least oneSAToP or CESoPSN service packet in the designated service packet group;acquiring, by the first node device, a reference sequence numberaccording to the sequence number of the SAToP or CESoPSN service packetin the designated service packet group; and determining, by the firstnode device, whether the sequence number of the least one SAToP orCESoPSN service packet matches the reference sequence number, and ifnot, determining the at least one SAToP or CESoPSN service packet whichsequence number is different from the reference sequence number as theasynchronous SAToP or CESoPSN service packet that exists in thedesignated service packet group; wherein the acquiring, by the firstnode device, the adjustment value for the transmission link transmittingthe asynchronous SAToP or CESoPSN service packet according to the rulefor the designated service packet group, and adjusting the transmissionlink transmitting the asynchronous SAToP or CESoPSN service packetaccording to the adjustment value comprises: acquiring, by the firstnode device, a difference obtained by subtracting the reference sequencenumber from the sequence number of the asynchronous SAToP or CESoPSNservice packet, and acquiring the adjustment value for the transmissionlink transmitting the asynchronous SAToP or CESoPSN service packetaccording to the difference; and to adjust the transmission linktransmitting the asynchronous SAToP or CESoPSN service packet, when thedifference is a negative number, discarding, by the first node device,an SAToP or CESoPSN service packet which quantity is the adjustmentvalue from the asynchronous SAToP or CESoPSN service packet transmittedon the transmission link, or when the difference is a positive number,inserting, by the first node device, an idle SAToP or CESoPSN servicepacket which quantity is the adjustment value to the asynchronous SAToPor CESoPSN service packet transmitted on the transmission link.
 2. Anode device, comprising: at least one computer readable storage mediumto store at least one program; and at least one hardware processor tocause, including by execution of the at least one program, to implementa first node device among node devices to: in response to receivingmultiple service packets of Structure-Agnostic Time DivisionMultiplexing over Packet (SAToP) or Structure-Aware Time DivisionMultiplexed Circuit Emulation Service over Packet Switched Network(CESoPSN) transmitted on multiple transmission links by a second nodedevice among the node devices to be bound to a designated service packetgroup, temporarily store the multiple service packets of designatedservice packet group transmitted on the multiple transmission links bythe second node device, wherein the designated service packet group isused to manage sequence numbers of the SAToP or CESoPSN service packetsin the designated service packet group; and in response to forwardingthe multiple SAToP or CESoPSN service packets in the temporarily storeddesignated service packet group, and a determination that anasynchronous SAToP or CESoPSN service packet exists on a transmissionlink among the multiple transmission links in the designated servicepacket group, acquire an adjustment value for the transmission linktransmitting the asynchronous SAToP or CESoPSN service packet accordingto a rule for the designated service packet group, and adjust thetransmission link transmitting the asynchronous SAToP or CESoPSN servicepacket according to the adjustment value, to cause the multiple SAToP orCESoPSN service packets in the designated service packet group betransmitted synchronously, wherein the determination that theasynchronous SAToP or CESoPSN service packet exists in the designatedservice packet group comprises: parsing at least one SAToP or CESoPSNservice packet in the designated service group, to acquire a sequencenumber of the at least one SAToP or CESoPSN service packet in thedesignated service packet group; acquiring a reference sequence numberaccording to the sequence number of the at least one SAToP or CESoPSNservice packet in the designated service packet group obtained throughthe parsing; and determining whether the sequence number of the at leastone SAToP or CESoPSN service packet matches the reference sequencenumber, and if not, determine the at least one SAToP or CESoPSN servicepacket which sequence number is different from the reference sequencenumber as the asynchronous SAToP or CESoPSN service packet in thedesignated service group; wherein the adjustment value for thetransmission link transmitting the asynchronous SAToP or CESoPSN servicepacket is acquired and the asynchronous SAToP or CESoPSN service packetis adjusted by: acquiring a difference obtained by subtracting theacquired reference sequence number from the sequence number of theasynchronous SAToP or CESoPSN service packet, and acquiring theadjustment value for the transmission link transmitting the asynchronousSAToP or CESoPSN service packet according to the difference; and toadjust the transmission link transmitting the asynchronous SAToP orCESoPSN service packet, when the difference is a negative number,discard an SAToP or CESoPSN service packet which quantity is theadjustment value from the asynchronous SAToP or CESoPSN service packet,or when the difference is a positive number, insert an idle SAToP orCESoPSN service packet which quantity is the adjustment value to theasynchronous SAToP or CESoPSN service packet transmitted on thetransmission link.
 3. A data transmission method, wherein the methodcomprises: in response to receiving, by a first node device, multipleservice packets of Structure-Agnostic Time Division Multiplexing overPacket (SAToP) or Structure-Aware Time Division Multiplexed CircuitEmulation Service over Packet Switched Network (CESoPSN) transmitted onmultiple transmission links by a second node device to be bound to adesignated service packet group, temporarily storing, by the first nodedevice, the multiple service packets of the designated service packetgroup transmitted on the multiple transmission links by the second nodedevice, wherein, the designated service packet group is used to managetimestamp information of the SAToP or CESoPSN service packets in thedesignated service packet group; and in response to the first nodedevice forwarding the multiple SAToP or CESoPSN service packets in thetemporarily stored designated service packet group, and a determination,by the first node device, that an asynchronous SAToP or CESoPSN servicepacket exists on a transmission link among the multiple transmissionlinks in the designated service packet group, acquiring, by the firstnode device, an adjustment value for the transmission link transmittingthe asynchronous SAToP or CESoPSN service packet according to a rule forthe designated service packet group, and adjusting the transmission linktransmitting the asynchronous SAToP or CESoPSN service packet accordingto the adjustment value, to cause the multiple SAToP or CESoPSN servicepackets in the designated service packet group be transmittedsynchronously; wherein the determination, by the first node device, thatthe asynchronous SAToP or CESoPSN service packet exists in thedesignated service packet group comprises: parsing, by the first nodedevice, at least one SAToP or CESoPSN service packet in the designatedservice packet group, to acquire information of a timestamp of the atleast one SAToP or CESoPSN service packet in the designated servicepacket group; acquiring, by the first node device, reference timestampinformation according to the timestamp information of at least one SAToPor CESoPSN service packet in the designated service packet group; anddetermining, by the first node device, whether the timestamp informationof the at least one SAToP or CESoPSN service packet matches with thereference timestamp information, and if not, determining the at leastone SAToP or CESoPSN service packet which timestamp information isdifferent from the reference timestamp information as the asynchronousSAToP or CESoPSN service packet that exists in the designated servicepacket group; wherein the acquiring, by the first node device, theadjustment value for the transmission link transmitting the asynchronousSAToP or CESoPSN service packet according to the rule for the designatedservice packet group, and adjusting the transmission link transmittingthe asynchronous SAToP or CESoPSN service packet according to theadjustment value comprises: acquiring, by the first node device, adifference obtained by subtracting the reference timestamp informationfrom the timestamp information of the asynchronous SAToP or CESoPSNservice packet, and acquiring the adjustment value for the transmissionlink transmitting the asynchronous SAToP or CESoPSN service packetaccording to the difference; and to adjust the transmission linktransmitting the asynchronous SAToP or CESoPSN service packet, when thedifference is a positive number, discarding, by the first node device,an SAToP or CESoPSN service packet which quantity is the adjustmentvalue from the asynchronous SAToP or CESoPSN service packet transmittedon the transmission link, or when the difference is a negative number,inserting, by the first node device, an idle SAToP or CESoPSN servicepacket which quantity is the adjustment value to the asynchronous SAToPor CESoPSN service packet transmitted on the transmission link.
 4. Anode device, comprising: at least one computer readable storage mediumto store at least one program; and at least one hardware processor tocause, including by execution of the at least one program, to implementa first node device among node devices to: in response to receivingmultiple service packets of Structure-Agnostic Time DivisionMultiplexing over Packet (SAToP) or Structure-Aware Time DivisionMultiplexed Circuit Emulation Service over Packet Switched Network(CESoPSN) transmitted on multiple transmission links by a second nodedevice among the node devices to be bound to a designated service packetgroup, temporarily store the multiple service packets of designatedservice packet group transmitted on the multiple transmission links bythe second node device, wherein the designated service packet group isused to manage timestamp information of the SAToP or CESoPSN servicepackets in the designated service packet group; and in response toforwarding the multiple SAToP or CESoPSN service packets in thetemporarily stored designated service packet group, and a determinationthat an asynchronous SAToP or CESoPSN service packet exists on atransmission link among the multiple transmission links in thedesignated service packet group, acquire an adjustment value for thetransmission link transmitting the asynchronous SAToP or CESoPSN servicepacket according to a rule for the designated service packet group, andadjust the transmission link transmitting the asynchronous SAToP orCESoPSN service packet according to the adjustment value, to cause themultiple SAToP or CESoPSN service packets in the designated servicepacket group be transmitted synchronously; wherein the determinationthat the asynchronous SAToP or CESoPSN service packet exists in thedesignated service packet group comprises: parsing at least one SAToP orCESoPSN service packet in the designated service group, to acquire atimestamp information of the at least one SAToP or CESoPSN servicepacket in the designated service packet group; acquiring referencetimestamp information according to the timestamp information of the atleast one SAToP or CESoPSN service packet in the designated servicepacket group acquired by the parsing; and determining whether thetimestamp information of the at least one SAToP or CESoPSN servicepacket matches the reference timestamp information, and if not,determine the at least one SAToP or CESoPSN service packet whichtimestamp information is different from the reference timestampinformation as the asynchronous SAToP or CESoPSN service packet in thedesignated service group; wherein the adjustment value for thetransmission link transmitting the asynchronous SAToP or CESoPSN servicepacket is acquired and the asynchronous SAToP or CESoPSN service packetis adjusted by: acquiring a difference obtained by subtracting thereference timestamp information from the timestamp information of theasynchronous SAToP or CESoPSN service packet, and acquiring theadjustment value for the transmission link transmitting the asynchronousSAToP or CESoPSN service according to the difference; and to adjust thetransmission link transmitting the asynchronous SAToP or CESoPSN servicepacket, when the difference is a positive number, discard an SAToP orCESoPSN service packet which quantity is the adjustment value from theasynchronous SAToP or CESoPSN service packet, or when the difference isa negative number, insert an idle SAToP or CESoPSN service packet whichquantity is the adjustment value to the asynchronous SAToP or CESoPSNservice packet transmitted on the transmission link.